package com.team2.insulatingtools.modular.tools.pojo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * .           ,%%%%%%%%,
 * .         ,%%/\%%%%/\%%
 * .        ,%%%\c "" J/%%%
 * %.       %%%%/ o  o \%%%
 * `%%.     %%%%    _  |%%%
 * `%%      `%%%%(__Y__)%%'
 * //        ;%%%%`\-/%%%'
 * ((        /  `%%%%%%%'
 * \\    .'          |
 * \\  /       \  | |
 * \\/         ) | |
 * \         /_ | |__
 * (___________)))))))
 * 攻城狮 永无bug!
 *
 * @ClassName RecordStatisticsResponse
 * @Author lemon
 * @create 2023/4/6 15:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecordStatisticsResponse {

    private String workShopName;


    private String teamName;


    private Integer id;

    private String number;

    private Integer parentToolNumber = -1;


    private String name;

    private Integer status;

    private String keeper;


    private String specification;




    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date testDate;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expireDate;


    private String tester;


    private String auditor;


    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date operateDate;


    private String operateConclusion;


    private Float workingVoltage;


    private Float testVoltage;


    private Double length;


    private Double lastingTime;


    private Double cycle;

    List<RecordStatisticsDetailResponse> toolDetailList;
}
